<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html >
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="f" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>添加用户</title>
<%@include file="/view/common/js-css.jsp"%>
</head>
<body>
	<div class="frameWrapper">
		<!-- <div id="oppucation"></div> -->
		<div class="titlebar">
			<a class="btn btn-getionfo" href="javascript:;">
			<i class="fa fa-upload"></i>&nbsp;&nbsp;导入Excel</a>
			<p>当前位置：系统管理<span>/</span>添加用户</p>
		</div>
		<div class="formbar">
			<form name="addGrade" id="grade" action="${pageContext.request.contextPath}/ManagerServlet?command=userAdd" method="post">
				<div class="form_control">
					<span class="input-name ">角色类型：</span> 
					<select name="roleId" class=select required" data-valid="isNonEmpty"
						data-error="角色类型必填">
						<option value="0">----请选择----</option>
							<c:forEach items="${roleList}" var="roleList">
								<option value="${roleList.role_id }">${roleList.role_name }</option>
							</c:forEach>
					</select>
				</div>
				<div class="form_control">
					<span class="input-name">用户名：</span> <input  class="required"
						value="" type="text" data-tip="请输入姓名" data-valid="isNonEmpty"
						data-error="姓名不能为空" name="username">
				</div>
				<div class="form_control">
					<span class="input-name">用户账号：</span> <input  class="required"
						value="" type="text" data-tip="请输入账号" data-valid="isNonEmpty"
						data-error="账号不能为空" name="account">
				</div>
				<div class="form_control">
					<span class="input-name">密码：</span> <input class="required"
						value="" type="password" name="password" data-tip="请输入密码"
						data-valid="isNonEmpty" data-error="密码不能为空">
				</div>
				<div class="submit">
					<input type="submit" value="立即提交" />
				</div>
			</form>
		</div>
	</div>
</body>
</html>